package com.yanxu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @date 2025-09-22-2025
 * @version V1.0
 * @author 折戟沉沙铁未销
 * @Description: 启动类
 */
@SpringBootApplication
public class Application {
    public static void main(String[] args) {
        ConfigurableApplicationContext configurableApplicationContext = SpringApplication.run(Application.class, args);
        RedisTemplate redisTemplate = configurableApplicationContext.getBean( RedisTemplate.class);
        System.out.println(redisTemplate);
    }
}